<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="u" uri="/iuie-tag"%>
<%@ taglib prefix="sys" uri="/sys-tag" %>
<%@ taglib prefix="lui" tagdir="/WEB-INF/tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>快速新增码表</title>
</head>
<lui:context/>
<u:View basePath="/res-system/code" userJS="quickAdd" delayLoadJs="false">
<body>
    <lui:dialogBody>
        <form class="m-cust m-narrow" id='quickAddFrm'>
        	<div class="form-group m-narrow row">
	        	<div class="col-xs-12">
					<div class="col-xs-1">
						<label class='m-label m-float-right' for="text">文本：</label>
					</div>
					<div class="col-xs-11">
						<textarea rows="16" cols="" name="text" class="form-control m-input" style="line-height: 1.2em; font-family: Consolas"></textarea>
					</div>
				</div>
			</div>
			<lui:ajax id="quickAddAjax" url="${ctx }/sys/code/quick/add" formQuery="#quickAddFrm" 
	    		formSubmit="true" onSuccess="QuickAddPage.onSaveSucc" type="post" contentType="application/x-www-form-urlencoded"/>
        </form>
    </lui:dialogBody>
    <lui:dialogFooter>
       <button class="btn btn-primary m-btn" type="button" onclick="QuickAddPage.save()">保存</button>
       <button class="btn btn-default m-btn" type="button" data-dismiss="dialog-box">关闭</button>
    </lui:dialogFooter>
</body>
</u:View>
</html>